$color:rgb(242,242,242);
.main{
    min-width: 1210px;
    margin: 0 auto;
    width: 1210px;
}
// 顶部内容
.topbox{
    background-color: #f1f1f1; 
    .box{
        height: 30px;
        display: flex;
        justify-content: space-between;
        font-size: 12px; 
    }
    .left{
        display: flex;
        align-items: center;
        a{
            color: #666;
        }
    }
    .right{
        display: flex;
        align-items: center;
        div{
            margin: 0 8px;
            a{
                color: #666;
                &:hover{
                    color: red;
                }
            }
        }
    }
}
// 搜索框内容开始
.searchbox{
    .box{
        height: 105px;
        display: flex;
        padding: 15px 0;
        box-sizing: border-box;
        .left{
            width: 330px;
            // border: 1px solid black;
            img{
                width: 162px;
                height: 60px;
                margin-left: 23px;
               
            }
        }
        .center{
            width: 635px;
            .inputbox{
                width: 635px;
                height: 65px;
                .boxt{
                    width: 490px;
                    height: 36px;
                    border: 2px solid red;
                    display: flex;
                    justify-content: space-between;
                    input[type="text"]{
                    width: 406px;
                    height: 26px;
                    padding: 5px;
                    outline: none;
                    border: 0;
                    }
                    input[type="button"]{
                        width: 79px;
                        height: 36px;
                        outline: none;
                        color: #FFF;
                        background-color: red;
                        border: 0;
                        }
                }
                .boxf{
                    margin-top: 4px;    
                    a{
                        color: #666;
                        &:nth-child(1)
                        {
                            color: #999 !important
                        }
                        &:hover{
                            color: red;
                        }
                    }
                }
            }
        }
        .right{
            flex: 1;
            // border: 1px solid black;
            margin-top: 5px;
            .buy{
                width: 113px;
                height: 31px;
                display: flex;
                align-items: center;
                border: 1px solid #efefef;
                justify-content: space-around;
                position: relative;
                div{
                    width: 61px;
                    height: 29px;
                    display: flex;
                    align-items: center;
                    a{
                        &:hover{
                            color:red;
                        }
                    }
                    em{
                        border-radius: 50%;
                        width: 15px;
                        height: 15px;
                        position: absolute;
                        left: 30px;
                        top: -6px;
                        font-style: normal;
                        font-weight: 600;
                        background-color: red;
                        color: #FFF;
                        text-align: center;
                    }
                }
            }
        }
    }
}
//  购物车信息展示部分 
.cart{
    .cartbox{
        .bxtop{
            height: 35px;
            display: flex;
            justify-content: space-between;
            border-bottom: 2px solid #ccc;
            .tpleft{
                .mes {
                    li{
                        float: left;
                        width: 120px;
                        height: 100%;
                        font-size: 16px;
                        padding-bottom: 15px;
                        span{
                            font-size: 14px;
                            color: skyblue;
                        }
                        a
                        {
                          display: inline-block;
                          width: 120px;
                          border-right: 1px solid #Ccc; 
                          text-align: center; 
                        }
                        &:nth-child(3){
                            a{
                                border: 0;
                            }
                        }
                    }
                }
            }
            .tpright{
                display: flex;
                justify-content: flex-end;
                align-items: center;
                height: 25px;
                width: 320px;
                em{
                    color: skyblue;
                    font-style: normal;
                    margin-right: 10px;
                }
                input{
                    width: 55px;
                    height: 25px;
                    border-radius: 4px;
                    border: 0;
                    outline: none;
                    background-color: skyblue;
                    color: #fff;
                    cursor: pointer;
                }
            }
        }
        .bxbottom{
           .goodinfo{
               width: 100%;
            //    border: 1px solid black;
               .goodtitle{
                   height: 49px;
                   border: 1px solid black;
                   tr{
                       th{
                           width: 160px;
                           font-weight: 400;
                           text-align: left;
                           text-indent:3px;
                           input,label{
                               margin-left: 20px;
                           }
                           &:nth-child(4)
                           {
                               text-indent: 25px;
                           }
                       }
                   }
               }
               .goodmes{
                tr{
                    height: 130px;
                    background-color: #ccc;
                    td{
                        width: 160px;
                        font-weight: 400;
                        // text-indent: 5px;
                        input{
                            margin-left: 20px;
                            margin-top: 5px;
                        }
                        img{
                            float: left;
                            width: 80px;
                            height: 80px;
                        }
                        p{
                            width: 226px;
                            float: left;
                            margin-left: 10px;
                            margin-top: 20px;
                            text-indent: 0;
                            em{
                                font-style: normal;
                                color: red;
                                font-weight: 600;
                            }
                        }
                        div{
                            display: flex;
                            input[type="button"]
                            {
                                width: 19px;
                                height: 27px;
                                outline: none;
                                margin: 0;
                                border: 0;
                                cursor: pointer;
                            }
                            input[type="text"]
                            {
                                width: 41px;
                                height: 25px;
                                outline: none;
                                border: 1px solid skyblue;
                                margin: 0;
                                text-align: center;
                            }
                        }
                        
                    }
                    .sumprice{
                        color: red;
                    }
                    .oper{
                        a{
                            &:hover{
                                color: REd;
                            }
                        }
                    }
                }  
               }
           } 
           .goodsum{
            margin-top: 10px; 
            height: 50px;
            border: 1px solid #ccc;
            display: flex;
            align-items: center;
            justify-content: space-between;
            .gsleft{
                margin-left: 20px;
            }
            .gsright{
                input[type="button"]{
                    width: 120px;
                    height: 50px;
                    background-color: #ddd;
                    border: 0;
                    outline:none;
                    cursor: pointer;
                }
                em{
                    font-style: normal;
                }
                .gssum,.gsnumber{
                    color: red;
                    font-size: 18px;
                    margin-right: 5px;
                }
            }
        }
        }
    }
}
// 智能正品服务部分开始
.service{
    height: 54px;
    background-color: $color;
    // border: 1px solid black;
    padding: 20px 0 34px;
    img{
        float: left;
        width: 302.5px;
        height: 54px;
    }
}
//底部内容开始
.footer{
    background-color: $color;
    .footbox{
        .fttop{
            display: flex;
            justify-content: space-around;
            height: 147px;
            dl{
                dt{
                    width: 206px;
                    font-size: 16px;
                    line-height: 20px;
                    height: 20px;
                    padding: 10px 5px;
                    color: #666;
                    border-bottom: 1px solid #e6e6e6;
                    margin: 5px 0;
                }
                dd{
                    ul li{
                        list-style: square;
                        list-style-position: inside;
                        font-size: 12px;
                        padding: 2px 5px;
                        a{
                            color:#666;
                        }
                    }
                }
            }
        }
        .ftbottom{
            padding: 20px 0;
            color: #666;
            p{
                display: flex;
                justify-content: center;
                img{
                    width: 20px;
                    height: 20px;
                }
                a{
                    color: #666;
                    &:hover{
                        text-decoration: underline;
                    }
                }
            }
           
        }
    }
}